//
//  BukaLogParameterModel.h
//  BukaLiveSDK
//
//  Created by 曹飞 on 2018/3/22.
//  Copyright © 2018年 tv.buka. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@interface BukaLogParameterModel : NSManagedObject

@property (nonatomic,assign) NSUInteger type;   //type    消息类型（uint_32）    0到499业务接口，500到999客户端，1000到1499信令，1500到2000媒体
@property (nonatomic,assign) NSInteger level;   //level    消息级别(int)    1正常日志2为错误
@property (nonatomic,strong) NSString * time;   //time    时间戳（string）    yyyy-MM-dd hh:mm:ss-z
@property (nonatomic,strong) NSString * sdk;    //sdk    端（string）    win,mac,ios,android,pcweb,
@property (nonatomic,strong) NSString * user_id;//user_id    用户id（string）    可能为空
@property (nonatomic,strong) NSString * user_name;//user_name    用户昵称
@property (nonatomic,strong) NSString * room_id;//room_id    房间id（string）    可能为空
@property (nonatomic,strong) NSString * room_name;//room_name    房间昵称
@property (nonatomic,strong) NSString * msg;//msg    消息内容（string）    具体内容根据消息类型定义
@property (nonatomic,strong) NSString * uuid;//uuid    用户标识    用于没有登陆房间出现问题，信息无法对应到具体的用户
@property (nonatomic,strong) NSString * versionNum; // 客户端端版本号
@property (nonatomic,strong) NSString * sdkVersion; // 媒体sdk版本号
@property (nonatomic,strong) NSString * lognamespace;  // 机构
@end


//硬件信息格式
@interface BKHardwareInfoModel : NSObject

@property (nonatomic,strong) NSString * cpu;      //  Cpu型号
@property (nonatomic,assign) int memTotal;        //内存总大小，单位为MB
@property (nonatomic,assign) int memFree;       //内存可用大小
@property (nonatomic,assign) int disk;          //软件所在分区大小，单位为MB
@property (nonatomic,assign) int screenWidth;    //屏幕宽
@property (nonatomic,assign) int screenHeight;    //屏幕高
@property (nonatomic,assign) double dpi;

@property (nonatomic,strong) NSString * gpu;    //string    显卡名称
@property (nonatomic,strong) NSString * mic;    //string    Json字符串，内容为json数组，index,name,uuid
@property (nonatomic,strong) NSString * sound;    //string    Json字符串，内容为json数组，index,name,uuid
@property (nonatomic,strong) NSString * camera;    //string    Json字符串，内容为json数组，index,name,uuid
@property (nonatomic,strong) NSString * os;    //String    操作系统详细信息
@property (nonatomic,strong) NSString * version;   // String    客户端版本号全称，比如用于区分哪个机构的
@property (nonatomic,strong) NSString * systemName;    //string    mac版本，mac pro,mac air
@property (nonatomic,strong) NSString * sdkVersion;    //string    媒体sdk的版本号
@property (nonatomic,strong) NSString * versionNum;    //string    客户端版本号：5.2.0


@end


//系统实时负载
@interface BKSystemReal : NSObject
@property (nonatomic,assign) int sCpu;        //软件所占cpu
@property (nonatomic,assign) int cpu;        //系统总的cpu占用
@property (nonatomic,assign) int sMem;       // 软件所在内存，单位MB
@property (nonatomic,assign) int mem;        //系统总占用内存，单位MB

@end

@interface BKBandInfo : NSObject
@property (nonatomic,assign) int loss;        //丢包率
@property (nonatomic,assign) int resolution;   //  分辨率 宽高
@property (nonatomic,assign)int fps;   //   帧率
@property (nonatomic,assign)int band;   //  带宽
@property (nonatomic,assign)int volume;   //  音量
@property (nonatomic,strong)NSString * ping; //ping 结果

@end


@interface BKSysInfo : NSObject

@property (nonatomic,strong) NSString * os;   // String    操作系统详细信息
@property (nonatomic,strong) NSString * version;    //String    客户端版本号
@property (nonatomic,strong) NSString * systemName;    //string    mac版本，mac pro,mac air


@end

